Re: [HACKERS] Updatable views - Mailing list pgsql-patches

From Bernd Helmle
Subject Re: [HACKERS] Updatable views
Date
Msg-id 66780EDBF7DA55F8A0B576E9@[172.26.14.247]
Whole thread Raw
In response to Re: Updatable views  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
--On Donnerstag, August 24, 2006 11:00:45 -0400 Tom Lane
<tgl@sss.pgh.pa.us> wrote:

> If the code is dependent on recognizing names to know what it's doing,
> then I'd say you have a fundamentally broken approach.  Consider adding
> a flag column to pg_rewrite to distinguish these rules, instead.

This is the approach the code already follows (it uses an additional
ev_kind column which distinguishes rules between implicit rules with
no, local or cascaded check option and explicit ones).

Turns out that i was thinking too difficult when looking at the code which
drops implicit rules....sorry for the noise.

--
  Thanks

                    Bernd

pgsql-patches by date:

Previous
From: "Jaime Casanova"
Date:
Subject: Re: Updatable views
Next
From: Zoltan Boszormenyi
Date:
Subject: Re: [HACKERS] COPY view